<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Ratings
 *
 * @author miroslav
 */
include_once dirname(__FILE__). '/rateings.class.php';



$rating = new ratings($_POST['widget_id']);
isset($_POST['fatch']) ? $rating->get_rateings() : $rating->vote_nonDb();
